﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace ZX.OA.Model
{
    /// <summary>
    /// 员工基本信息表
    /// </summary>
    public class EmployeeInfo
    {
        [Key]
        public int EmpId { get; set; }
        public string EmpName { get; set; }
        public int EmpNum { get; set; }
        public string EmpIdCard { get; set; }
        public int EmpAge { get; set; }
        public string EmpAddress { get; set; }
        public string EmpNation { get; set; }
        public bool EmpMarryage { get; set; }
        public string EmpEducation { get; set; }
        public string EmpSchool { get; set; }

        public int DeptId { get; set; }
        public virtual DeptInfo DeptInfo { get; set; }

        public string EmpTel { get; set; }
        public bool EmpState { get; set; }
        public DateTime EmpDate { get; set; }
        public string EmpJob { get; set; }
        public string EmpEmail { get; set; }
        public decimal EmpSal { get; set; }
        public bool EmpSex { get; set; }
        public string EmpRemark { get; set; }
        public string EmpBank { get; set; }
    }
}
